]> dgit.raspbian.org Git - openjdk-25.git/commit
[PATCH] 8385738: Javadoc does not produce reproducible output due to the snippet...
authorVladimir Petko <vpetko@openjdk.org>
Wed, 3 Jun 2026 06:35:57 +0000 (06:35 +0000)
committerVladimir Petko <vladimir.petko@canonical.com>
Thu, 24 Sep 2026 07:52:19 +0000 (19:52 +1200)
commit4cccd95a804ae1664a891f8205bd21edef1ecd8b
treee6852de1ca8d7dd26a1d705de6d85bbdc8a1fc2f
parent01514cb65ca516d74d9ef25dced3042361e9baa6
[PATCH] 8385738: Javadoc does not produce reproducible output due to the snippet ids The top level type generation order is not deterministic due to the directory listing being non-deterministic. Snippet ids are monotonically incremented during the javadoc run. This means that the generated snippet ids are not reproducible. This PR changes Set to the Map so that each page uses a separate snippet id counter.

Bug: https://bugs.openjdk.org/browse/JDK-8385738
Reviewed-by: nbenalla
Gbp-Pq: Name jdk-8385738.diff
src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/taglets/SnippetTaglet.java
test/langtools/jdk/javadoc/doclet/testSnippetTag/TestSnippetTag.java